package wwl.lsf.shejimoshizhimei;

import java.util.concurrent.atomic.AtomicLong;

public enum IdGenerator {
    INSTANCE;
    private AtomicLong id = new AtomicLong();

    public long getId() {
        return id.getAndIncrement();
    }
}
